<?php

require_once 'UdpDgram.class.php';

$ip = '127.0.0.1';
//$ip = '192.168.1.101';
$port = 12345;
$udp = new UdpDgram();
$str = 'abcd0000';
$rt = $udp->sendto($str, strlen($str), $ip, $port);
echo $rt;

?>
